package com.pai4j.pgc.dao;

import com.pai4j.pgc.entity.OpenApiEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Optional;

public interface OpenApiRepository extends JpaRepository<OpenApiEntity, Long>, JpaSpecificationExecutor<OpenApiEntity> {
    Optional<OpenApiEntity> findByApiId(String apiId);
}
